-- GENERATED SPELL FOR [Arra'chea] --


function spell0_3058(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(6730,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3058', 2295, 1)
end

function Sorts_3058(pUnit, Event)
local choix_sorts_3058 = math.random(0, 0)
if choix_sorts_3058 == 0 then
pUnit:RegisterEvent('spell0_3058', 1, 1)
end
end

function mob3058_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3058', math.random(1500, 3000), 1)
end

function mob3058_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3058_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3058_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3058, 1, 'mob3058_Action')
RegisterUnitEvent(3058, 2, 'mob3058_Leave')
RegisterUnitEvent(3058, 3, 'mob3058_Kill')
RegisterUnitEvent(3058, 4, 'mob3058_Die')
